package se.webbzon.oschi01.worldarea;

import se.webbzon.oschi01.worldobject.WorldObject;

public interface WorldAreaListener {

	/*============================================================
    Public Methods
    ============================================================*/

	/** This method will be launched when an instance is added to the
	 * WorldArea. **/
	public void onInstanceAdd(WorldArea source, WorldObject instance);

	/** This method will be launched when an instance is removed from
	 * the WorldArea. **/
	public void onInstanceRemove(WorldArea source, WorldObject instance);

	/** This method will be launched when all instances is clear from
	 * the WorldArea. **/
	public void onInstancesClear(WorldArea source);

	/** This method is invoked when the given WorldArea sends a request
	 * to the engine to switch to the given destination. **/
	public void onGoto(WorldArea source, WorldArea destination);

}
